package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Lenovo 2022/7/25 16:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HotelBo {
        @ExcelProperty(value = "编号")
        private Integer id;

        @ExcelProperty(value = "用户名")
        private String name;

        private String sex;
        @DateTimeFormat("yyyy-MM-dd")
        private Date birthday;


}
